
package com.infos.test;

import java.util.Date;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.JobKey;

import com.easy.common.util.date.DateUtils;

public class SimpleJob implements Job{
	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		JobKey jobKey = context.getJobDetail().getKey();
		System.out.println("执行任务"+"[定时邮件]: " + jobKey + " 运行时间：" + DateUtils.formatYYYYMMDD_HHMMSS(new Date()));		
	
	}

}
